package com.xxxx.api.utils;


import com.xxxx.api.exception.ParamsException;

/**
 * 判断工具类
 *
 * @author nathan-wang on 2020-10-18
 */
public class AssertUtil {
    public static void isTrue(Boolean flag,String msg){
        if (flag){
            throw new ParamsException(msg);
        }
    }
}
